package com.dc.common.constants;

/**
 * 
 * <h2>公共常量</h2>
 * 
 * @ClassName: ConstantsCommon
 * @author Enzo
 * @date 2018年1月11日 下午4:32:40
 */
public class ConstantsCommon {
	// session名称
	public final static String LOGIN_USERINFO = "userInfo";//登陆用户信息
	public final static String USER_PERMISSION = "userPermission";//登陆用户权限
	public final static String TOKEN = "token";//登陆用户权限
	
	public final static String LOGIN_INFO = "loginInfo";
	public final static String LOGIN_FUNCTIONS = "functions";
	public final static String LOGIN_SESSION = "loginSession";
	public final static String LOGIN_MENU = "menu";
	public final static String LOGIN_REQUEST_DATE = "requestData";// 防止表单重复提交,保存提交参数
	public final static String DEFAULT_PASSWORD = "111111";

	public final static String LOGIN_OUT_TYPE_CANCELLATION = "注销";
	public final static String LOGIN_OUT_TYPE_SECONDARY = "二次登录";

	// 权限功能
	public final static String FUN_ADD = "新增";
	public final static String FUN_UPDATE = "修改";
	public final static String FUN_DELETE = "删除";
	public final static String FUN_NO = "无权限";
	public final static String FUN_SEARCH = "查询";
	public final static String FUN_SEARCH_ALL = "查全";
	public final static String FUN_SEARCH_ORGAN = "查单位";
	public final static String FUN_SEARCH_DEPT = "查部门";
	public final static String FUN_SEARCH_PERSONAL = "查私";
	public final static String FUN_IMPORT = "导入";
	public final static String FUN_EXPORT = "导出";
	public final static String FUN_UPLOAD = "上传";
	public final static String FUN_DOWN = "下载";
	public final static String FUN_APPROVAL = "审批";

}
